package com.sh.data.engine.repository.dao.normalization.modeldesign.busmatrix.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

/**
 * @author : changkong
 * @date : 2022/1/10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_matrix")
@EqualsAndHashCode(callSuper = true)
public class MatrixEntity extends EngineBaseModel<MatrixEntity> {
    // 别的地方要用
    private Long projectId;

    private Long factId;

    private Long dimId;

    /**
     * 逻辑关联
     */
    private Integer logicRel;

    /**
     * 业务关联
     */
    private Integer bizRel;

    @TableLogic(value = "1", delval = "0")
    private Integer rowState;

}
